'Declaration
Public Overloads Function LoadFromDirectory( _ ByVal Path As String, _ ByVal IncludeSubFolders As Boolean, _ ByVal SearchPatterns() As String _ ) As GdPictureStatus
public GdPictureStatus LoadFromDirectory( string Path, bool IncludeSubFolders, string[] SearchPatterns )
public function LoadFromDirectory( Path: String; IncludeSubFolders: Boolean; SearchPatterns: Stringarray of ): GdPictureStatus;
public function LoadFromDirectory( Path : String, IncludeSubFolders : boolean, SearchPatterns : String[] ) : GdPictureStatus;
public: GdPictureStatus LoadFromDirectory( string* Path, bool IncludeSubFolders, string*[]* SearchPatterns )
public: GdPictureStatus LoadFromDirectory( String^ Path, bool IncludeSubFolders, array<String^>^ SearchPatterns )
Parameters
- Path
- The path from which thumbnails will be generated.
- IncludeSubFolders
- Set to True to include sub folders else False.
- SearchPatterns
- An array of search strings to match against the names of files in path. IE: "*.tif" The parameter cannot end in two periods ("..") or contain two periods ("..") followed by DirectorySeparatorChar or AltDirectorySeparatorChar, nor can it contain any of the characters in InvalidPathChars. Wildcard character: - * Zero or more characters. - ? Exactly one character.
Return Value
A member of the GdPictureStatus enumeration.